body {
    margin: 0;
    padding: 0;
    font-family: Arial, sans-serif;
    background-color: #f0f0f0;
}

.container {
    max-width: 800px;
    margin: 0 auto;
    padding: 20px;
}

h1 {
    text-align: center;
    color: #333;
}

.controls {
    display: flex;
    justify-content: center;
    margin-bottom: 20px;
    flex-wrap: wrap;
    gap: 10px;
    align-items: center;
}

button {
    padding: 10px 20px;
    background-color: #4CAF50;
    color: white;
    border: none;
    border-radius: 4px;
    cursor: pointer;
    font-size: 16px;
}

button:hover {
    background-color: #45a049;
}

#resetBtn {
    background-color: #f44336;
}

#resetBtn:hover {
    background-color: #d32f2f;
}

.status {
    margin-left: 20px;
    font-weight: bold;
}

.canvas-container {
    width: 100%;
    height: 400px;
    background-color: white;
    border: 1px solid #ddd;
    margin-bottom: 20px;
    position: relative;
}

canvas {
    width: 100%;
    height: 100%;
    display: block;
}

.info {
    background-color: white;
    border: 1px solid #ddd;
    padding: 15px;
    border-radius: 4px;
}

.info div {
    margin-bottom: 10px;
}

.debug-info {
    margin-top: 15px;
    padding-top: 10px;
    border-top: 1px dashed #ccc;
}

.debug-info div {
    margin-bottom: 5px;
    font-family: monospace;
} 